<%@page import="com.rfy.infomanage.pojo.ImClass"%>
<%@page import="com.rfy.infomanage.service.ClassService"%>
<%@page import="com.rfy.infomanage.pojo.ImDepartment"%>
<%@page import="com.rfy.infomanage.service.DepartmentService"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>个人信息</title>
<style type="text/css">
TD {
	FONT-WEIGHT: normal;
	FONT-SIZE: 9pt;
	FONT-FAMILY: "宋体", "serif"
}

A:link {
	TEXT-DECORATION: none
}

A:visited {
	FONT-WEIGHT: normal;
	TEXT-DECORATION: none
}

BODY {
	FONT-SIZE: 9pt;
	FONT-FAMILY: "宋体", "serif"
}

TR {
	FONT-SIZE: 9pt;
	FONT-FAMILY: "宋体", "serif"
}

.unnamed1 {
	FONT-WEIGHT: bold;
	FONT-SIZE: 9pt
}

.p9 {
	FONT-SIZE: 9pt;
	FONT-FAMILY: "宋体"
}

.unnamed2 {
	FONT-SIZE: 11pt
}
</style>
		<link href="css/kingrain.css" rel="stylesheet" type="text/css">
		<script src="js/ga.js"  ></script>
	</head>

	<body bgcolor="#b2b0b1" leftmargin="0" topmargin="0">

		<table cellspacing="0" cellpadding="0" width="748" align="center"
			border="0">

			<tbody>

				<tr>

					<td valign="top" width="16" background="images/detail/left.gif">
						<img height="160" src="images/detail/leftz.gif" width="16">
					</td>

					<td valign="top" width="721" bgcolor="#f8f8f8">

						<table cellspacing="0" cellpadding="0" width="721" border="0">

							<tbody>

								<tr>

									<td height="29">&nbsp;
										
									</td>

								</tr>

								<tr>

									<td align="right" bgcolor="#ffffff" height="23">
										<img height="11" src="images/detail/hua.gif" width="10">
										<a href="#" target="_blank"><font
											color="#E37200">学生综合信息管理系统</font>
										</a>

										<img height="11" src="images/detail/hua.gif" width="10">
										&nbsp;&nbsp;
									</td>

								</tr>

								<tr>

									<td height="25" background="images/detail/xian.gif"
										class="content" style="PADDING-TOP: 5px">&nbsp;
										
									</td>

								</tr>

								<tr>

									<td valign="top" align="left">
										<img height="23" src="images/detail/lian1.gif" width="15">
									</td>
								</tr>

								<tr>

									<td>

										<table cellspacing="0" cellpadding="0" width="695"
											align="left" border="0">

											<tbody>

												<tr>

													<td width="15">
														<img height="37" src="images/detail/lian2.gif" width="15">
													</td>

													<td width="550" background="images/detail/tit2.gif" class="content">
														&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong><font color="#3366CC"><s:property value="studentInfo.name" />的查询结果</font></strong>
													</td>

													<td width="130"  background="images/detail/tit2.gif" class="content">
														<a target="_blank" href="detailStudent.action?og=y&studentID=${studentID}"><img height="37"
																src="images/detail/dot-jbgn.gif" width="130" border="0">
														</a>
													</td>

												</tr>
											</tbody>
										</table>
									</td>
								</tr>

								<tr>

									<td valign="top" align="left">

										<table cellspacing="0" cellpadding="0" width="721" border="0">

											<tbody>

												<tr>

													<td valign="top" align="left" width="28">
														<img height="23" src="images/detail/lian3.gif" width="28">
													</td>

													<td>

														<div align="left">

															<table id="AutoNumber1" style="BORDER-COLLAPSE: collapse"
																bordercolor="#e7e7e7" cellspacing="0" cellpadding="0"
																width="667" border="5">

																<tbody>

																	<tr>

																		<td bgcolor="#ffffff">

																			<table cellspacing="0" cellpadding="0" width="657"
																				border="0">

																				<tbody>

																					<tr>

																						<td>&nbsp;
																							
																						</td>

																					</tr>

																					<tr>

																						<td valign="top">

																							<table cellspacing="0" cellpadding="0"
																								width="579" align="center" border="0">

																								<tbody>

																									<tr>

																										<td>
																											<table cellspacing="0" cellpadding="0"
																												width="579" border="0">

																												<tbody>

																													<tr>

																														<td height="25">
																															<img height="11"
																																src="images/detail/dot.gif" width="11">
																															<font color="#ff8701"> <span
																																class="content"><strong>个人信息</strong>
																															</span>
																															</font>
																														</td>

																													</tr>

																													<tr>

																														<td>
																															<img height="14"
																																src="images/detail/01.gif" width="579">
																														</td>

																													</tr>

																													<tr>

																														<td background="images/detail/02.gif">
																															<table width="90%" border="0"
																																class="style1" align="center">

																																<tbody>
																																	<tr>

																																		<td width="64" height="25">
																																			姓 名：
																																		</td>

																																		<td>
																																			<s:property value="studentInfo.name" />
																																		</td>

																																		<td width="60">
																																			 
																																		</td>

																																		<td width="90">
																																			 
																																		</td>

																																		<td   rowspan="5"
																																			valign="top">
																																			<img height="100" width="100"
																																					src="upload/photos/${studentInfo.photo}"
																																					border="0"
																																					 />
																																		</td>

																																	</tr>

																																	<tr>

																																		<td height="25">
																																			学 号：
																																		</td>

																																		<td>
																																			<s:property value="studentInfo.stuNo" />
																																		</td>

																																		<td>
																																			 
																																		</td>

																																		<td>
																																			 
																																		</td>

																																	</tr>

																																	<tr>

																																		<td height="25">
																																			性 别：
																																		</td>

																																		<td>
																																			<s:property value="studentInfo.sex" />
																																		</td>

																																		<td>
																																			 
																																		</td>

																																		<td>
																																			 
																																		</td>

																																	</tr>

																																	<tr>

																																		<td height="25">
																																			院 系：
																																		</td>

																																		<td width="137">
																																			<s:set name="depar" scope="request" value="studentInfo.departmentId" />
																																			<%
																																			String deObjName = "";
																																				Integer depar = (Integer)request.getAttribute("depar");
																																				if(depar != null){
																																					DepartmentService ser = new DepartmentService();
																																					ImDepartment deObj = ser.getDepartment(depar);
																																					if(deObj != null){
																																						deObjName = deObj.getName();
																																					}
																																				}
																																			%>
																																			<%=deObjName %>
																																		</td>

																																		<td>
																																			 
																																		</td>

																																		<td>
																																			 
																																		</td>

																																	</tr>

																																	<tr>

																																		<td height="25">
																																			生 日：
																																		</td>

																																		<td>
																																			<s:set scope="request" name="birda" value="studentInfo.birthday" />
																																			<s:date name="#request.birda" format="yyyy年MM月dd日" />
																																		</td>

																																		<td>

																																		</td>
																																	</tr>

																																</tbody>
																															</table>
																														</td>

																													</tr>

																													<tr>

																														<td>
																															<img height="14"
																																src="images/detail/03.gif" width="579">
																														</td>

																													</tr>

																												</tbody>

																											</table>
																											</td>
																											</tr>
																											<s:set value="og" scope="request" name="onlygo"></s:set>
																											<%if("n".equals((String)request.getAttribute("onlygo"))){%>
																											<tr>
																											<td>
																											<table cellspacing="0" cellpadding="0"
																												width="579" border="0">

																												<tbody>

																													<tr>

																														<td height="25">
																															<img height="11"
																																src="images/detail/dot.gif" width="11">
																															<font color="#ff8701"> <span
																																class="content"><strong>教育经历</strong>
																															</span>
																															</font>
																														</td>

																													</tr>

																													<tr>

																														<td>
																															<img height="14"
																																src="images/detail/01.gif" width="579">
																														</td>

																													</tr>

																													<tr>

																														<td background="images/detail/02.gif">

																															<table cellspacing="0" cellpadding="0"
																																width="540" align="center" border="0">

																																<tbody>

																																	<tr>

																																		<td height="25">
																																			学校名称: <s:property value="studentEduBG.schoolName"/>
																																		</td>

																																	</tr>
																																												<tr>

																																		<td height="25">
																																			开始时间:<s:set scope="request" name="edubgst" value="studentEduBG.startTime"/>
																																			<s:date name="#request.edubgst" format="yyyy年MM月dd日"/>
																																		</td>

																																	</tr>
																																												<tr>

																																		<td height="25">
																																			结束时间:<s:set  scope="request" name="edubget" value="studentEduBG.endTime"/>
																																			<s:date name="#request.edubget" format="yyyy年MM月dd日"/>
																																		</td>

																																	</tr>

																																	<tr>

																																		<td align="right">
																																			<a
																																				href="#"><img
																																					height="12"
																																					src="images/detail/top.gif"
																																					width="12" border="0">
																																			</a>
																																		</td>

																																	</tr>

																																</tbody>

																															</table>
																														</td>

																													</tr>

																													<tr>

																														<td>
																															<img height="14"
																																src="images/detail/03.gif" width="579">
																														</td>

																													</tr>

																												</tbody>

																											</table>
																										</td>

																									</tr>

																									<tr>

																										<td height="25" class="content">
																											<img height="11" src="images/detail/dot.gif"
																												width="11">
																											<font color="#ff8701"> <strong>学籍学历</strong>
																											</font>
																										</td>

																									</tr>

																									<tr>

																										<td>
																											<img height="14" src="images/detail/01.gif"
																												width="579">
																										</td>

																									</tr>

																									<tr>

																										<td background="images/detail/02.gif">

																											<table cellspacing="0" cellpadding="0"
																												width="540" align="center" border="0">

																												<tbody>

																													<tr>

																														<td height="25">
																															学籍:<s:property value="edudegree.enrollment"/> &nbsp;&nbsp;&nbsp;&nbsp; 
																															学历:<s:property value="edudegree.degree"/>
																														</td>

																													</tr>
																													<tr>

																														<td height="25">
																															论文:<s:set name="eduDepaper" scope="request" value="edudegree.paper"/>
																															<%String eduDepaper = (String)request.getAttribute("eduDepaper");
																															String pas = "";
																															if(eduDepaper != null){
																																
																																String sedu[] = eduDepaper.split("_");
																																pas = sedu[1];
																															}
																															%>
																															<%=pas %>&nbsp;&nbsp;&nbsp;&nbsp; 
																															<a href="downPaperStudent.action?downfileName=${edudegree.paper}" target="_blank"><strong>下载</strong></a>
																														</td>

																													</tr>

																													<tr>

																														<td align="right">
																															<a
																																href="#"><img
																																	height="12" src="images/detail/top.gif"
																																	width="12" border="0">
																															</a>
																														</td>

																													</tr>

																												</tbody>

																											</table>
																										</td>

																									</tr>

																									<tr>

																										<td>
																											<img height="14" src="images/detail/03.gif"
																												width="579">
																										</td>

																									</tr>

																									<tr>

																										<td>&nbsp;</td>

																									</tr>

																									<tr>

																										<td height="25">
																											<img height="11" src="images/detail/dot.gif"
																												width="11">
																											<font color="#ff8701"> <strong><span
																													class="content">奖罚信息</span>
																											</strong>
																											</font>
																										</td>

																									</tr>

																									<tr>

																										<td>
																											<img height="14" src="images/detail/01.gif"
																												width="579">
																										</td>

																									</tr>

																									<tr>

																										<td background="images/detail/02.gif">

																											<table cellspacing="0" cellpadding="0"
																												width="540" align="center" border="0">

																												<tbody>

																													<tr>

																														<td height="25">
																														<strong><s:property value="studentContent.content" /></strong> &nbsp;&nbsp;&nbsp;&nbsp; 
																														<s:set scope="request" name="stuCondate" value="studentContent.getDate" />
																														<s:date name="#request.stuCondate" format="yyyy年MM月dd日"/>
																														</td>

																													</tr>
																													<tr>
																														<td height="25">
																														内容:<s:property value="studentContent.msg" />
																														</td>

																													</tr>

																													<tr>

																														<td align="right">
																															<a
																																href="#"><img
																																	height="12" src="images/detail/top.gif"
																																	width="12" border="0">
																															</a>
																														</td>

																													</tr>

																												</tbody>

																											</table>
																										</td>

																									</tr>

																									<tr>

																										<td>
																											<img height="14" src="images/detail/03.gif"
																												width="579">
																										</td>

																									</tr>
																							<%}%>
																									<tr>

																										<td>
																											<table cellspacing="0" cellpadding="0"
																												width="579" border="0">

																												<tbody>

																													<tr>

																														<td height="25">
																															<img height="11"
																																src="images/detail/dot.gif" width="11">
																															<font color="#ff8701"> <span
																																class="content"><strong>各科成绩</strong>
																															</span>
																															</font>
																														</td>

																													</tr>

																													<tr>

																														<td>
																															<img height="14"
																																src="images/detail/01.gif" width="579">
																														</td>

																													</tr>

																													<tr>

																														<td background="images/detail/02.gif">

																															<table cellspacing="0" cellpadding="0"
																																width="540" align="center" border="0">

																																<tbody>
																															<s:iterator value="goalList" status="stat" var="goa">
																																	<tr>
																																		<td height="25" width="130">
																																			<s:set scope="page" name="goalcId" value="#goa.classId"/> 
																																			<%
																																				String goalNaC = "";
																																				String goalNaE = "";
																																				Integer goalcId = (Integer)pageContext.getAttribute("goalcId");
																																				ClassService cserg = new ClassService();
																																				ImClass clObj = cserg.getClass(goalcId);
																																				if(clObj != null){
																																					goalNaC = clObj.getChiName();
																																					goalNaE = clObj.getEngName();
																																				}
																																			%>
																																			<%=goalNaC %>
																																			(<%=goalNaE %>):
																																			
																																		</td>
																																		<td><s:property value="#goa.goal" /></td>
																																	</tr>
																															</s:iterator>
																																	<tr>

																																		<td colspan="2" align="right">
																																			<a
																																				href="#"><img
																																					height="12"
																																					src="images/detail/top.gif"
																																					width="12" border="0">
																																			</a>
																																		</td>

																																	</tr>

																																</tbody>

																															</table>
																														</td>

																													</tr>

																													<tr>

																														<td>
																															<img height="14"
																																src="images/detail/03.gif" width="579">
																														</td>

																													</tr>

																												</tbody>

																											</table>
																										</td>

																									</tr>

																									<tr>

																										<td>&nbsp;</td>

																									</tr>

																									<tr>

																										<td>&nbsp;</td>

																									</tr>

																									<tr>

																										<td height="25" class="kingrain">
																											<div align="center">2012 Student Information Management System</td>

																									</tr>

																								</tbody>

																							</table>
																						</td>
																					</tr>
																				</tbody>
																			</table>
																		</td>
																	</tr>
																</tbody>
															</table>
														</div>
													</td>
												</tr>
											</tbody>
										</table>
									</td>
								</tr>

								<tr>

									<td>
									</td>
								</tr>
							</tbody>
						</table>
					</td>

					<td width="11" background="images/detail/right.gif">
					</td>
				</tr>

				<tr>

					<td colspan="3">
						<img height="20" src="images/detail/di.gif" width="748">
					</td>
				</tr>
			</tbody>
		</table>
	</body>
</html>